import java.util.LinkedList;
import java.util.Queue;
import java.util.Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 19182
 * Date: 2025-07-19
 * Time: 9:13
 */
public class Test {
    public static void main(String[] args) {
        Stack<Integer> st = new Stack<>();


        myqueue myqueue1 = new myqueue();
        myqueue1.offer(1);
        myqueue1.offer(2);
        myqueue1.offer(3);
        myqueue1.offer(4);
        myqueue1.poll();
        myqueue1.poll();
        myqueue1.poll();
        myqueue1.poll();
        myqueue1.display();
    }
}
